package cn.iocoder.yudao.module.pplan.controller.admin.recipemeal.vo;

import cn.iocoder.yudao.module.pplan.controller.admin.recipemealingre.vo.RecipeMealIngreSaveReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 生产计划-餐谱菜品数据管理新增/修改 Request VO")
@Data
public class RecipeMealSaveReqVO {

    @Schema(description = "唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "19492")
    private Long id;

    @Schema(description = "菜品编号", requiredMode = Schema.RequiredMode.REQUIRED)
    //@NotEmpty(message = "菜品编号不能为空")
    private String mealCode;

    @Schema(description = "菜品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "菜品名称不能为空")
    private String mealName;

    @Schema(description = "所属航空公司", requiredMode = Schema.RequiredMode.REQUIRED, example = "23377")
    @NotNull(message = "所属航空公司不能为空")
    private Long airlineId;

    @Schema(description = "菜品类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "菜品类型不能为空")
    private String mealType;

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否启用不能为空")
    private Boolean isActive;

    @Schema(description = "特别说明")
    private String remarks;

    @Schema(description = "配料信息")
    private List<RecipeMealIngreSaveReqVO> mealIngreRespVOS;

}